package com.qt.test;

public class SunG {

    private String name;
    private int age;
    private int[] data;


    public SunG() {
    }

    public SunG(String name, int age, int[] data) {
        this.name = name;
        this.age = age;
        this.data = data;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * 获取
     * @return data
     */
    public int[] getData() {
        return data;
    }

    /**
     * 设置
     * @param data
     */
    public void setData(int[] data) {
        this.data = data;
    }

    public String toString() {
        return "SunG{name = " + name + ", age = " + age + ", data = " + data + "}";
    }
}
